package com.cv.platform.controller.platform.collection.vo.collection;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.util.List;

/**
 * 视频平台 - 视频合集保存 Request VO
 *
 * @author Charles_XDXD
 */
@Data
@Schema(description = "视频平台 - 视频合集保存 Request VO")
public class CvVideoCollectionSaveReqVO {

    @Schema(description = "视频合集编号", example = "1024")
    private Long id;

    @Schema(description = "用户编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
    private Long userId;

    @Schema(description = "视频合集名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "合集名称")
    @NotBlank(message = "视频合集名称不能为空")
    private String title;

    @Schema(description = "视频合集简介", requiredMode = Schema.RequiredMode.REQUIRED, example = "合集描述")
    private String description;

    @Schema(description = "视频合集是否可见，0-不可见，1-可见", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Integer isVisible;
    
    @Schema(description = "关联的视频合集 id 列表")
    private List<Long> videoIdList;

}
